home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
emulator
/
bsvc-1.000
/
bsvc-1
/
bsvc-1.0.4
/
src
/
Assemblers
/
68kasm
/
globals.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-07-26
|
2KB
|
56 lines
/******************************************************************************
* $Id: globals.c,v 1.1 1994/08/29 23:59:00 bmott Exp $
******************************************************************************
*
* GLOBALS.C
* Global Variable Declarations for 68000 Assembler
*
* Author: Paul McKee
* ECE492 North Carolina State University
*
* Date: 12/13/86
*
* Copyright 1990-1991 North Carolina State University. All Rights Reserved.
*
******************************************************************************
* $Log: globals.c,v $
* Revision 1.1 1994/08/29 23:59:00 bmott
* Initial revision
*
*****************************************************************************/
#include <stdio.h>
#include "asm.h"
/* General */
int loc; /* The assembler's location counter */
char pass2; /* Flag telling whether or not it's the second pass */
char endFlag; /* Flag set when the END directive is encountered */
/* File pointers */
FILE *inFile; /* Input file */
FILE *listFile; /* Listing file */
FILE *objFile; /* Object file */
/* Listing information */
char line[256]; /* Source line */
int lineNum; /* Source line number */
char *listPtr; /* Pointer to buffer where a listing line is assembled */
char continuation; /* TRUE if the listing line is a continuation */
/* Option flags with default values */
char listFlag = FALSE; /* True if a listing is desired */
char objFlag = TRUE; /* True if an object code file is desired */
char xrefFlag = FALSE; /* True if a cross-reference is desired */
char cexFlag = FALSE; /* True is Constants are to be EXpanded */
char absLongFlag = FALSE; /* True if all long absolute addresses */